#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Math
{
     // <summary> 
	// ! linear regression y_i = a_0 + a_1*x_0 +..+a_n*x_{n-1} + eps
	// </summary>
    [Guid ("47682219-E4BD-4fe0-B2A0-CE7DEC7C5742"),ComVisible(true)]
	public interface ILinearRegression 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Math.IArray Coefficients {get;}
        
		 Cephei.QL.Math.IArray Residuals {get;}
        
		 Cephei.QL.Math.IArray StandardErrors {get;}
    }

    // <summary> 
	// ! linear regression y_i = a_0 + a_1*x_0 +..+a_n*x_{n-1} + eps Factory
	// </summary>
   	[ComVisible(true)]
    public interface ILinearRegression_Factory // : Collection_Factory<ILinearRegression, ICell<ILinearRegression>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ILinearRegression Create (Cephei.IMatrix<Double> x, Cephei.IVector<Double> y);
    }
}

